package com.foreknow.dao;

import com.foreknow.model.Admin;

import java.sql.SQLException;

public interface AdminDao {
    /**
     * 注册功能
     * @return
     */
    public boolean register(Admin admin) throws SQLException;

    /**
     * 登录功能
     * @return
     */
    public Admin login(Admin admin) throws SQLException;


}
